package designpatterns.decorator;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2022/2/14 8:42
 */
public class ShapeDecorator implements Shape {

    protected Shape decoratorShape;

    public ShapeDecorator(final Shape shape) {
        this.decoratorShape = shape;
    }

    @Override
    public void draw() {
        decoratorShape.draw();
    }
}
